﻿Namespace Core

    ''' <summary>
    ''' ResponseStatuscodes from the WBS API
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StatusResponseEnum As Int32
        ''' <summary>
        ''' Operation was successfull
        ''' </summary>
        ''' <remarks></remarks>
        Successfull = 0
        ''' <summary>
        ''' The hash is missing, invalid, or does not match the provided email
        ''' </summary>
        ''' <remarks></remarks>
        HashMissingOrInvalid = 100

        ''' <summary>
        ''' The userid provided is absent, or incorrect
        ''' </summary>
        ''' <remarks></remarks>
        UserIdAbsentOrIncorrect = 247

        ''' <summary>
        ''' The userid and publickey provided do not match, or the user does not share its data.
        ''' </summary>
        ''' <remarks></remarks>
        UserDataIsNotPublic = 250

        ''' <summary>
        ''' The email address provided is either unknown or invalid
        ''' </summary>
        ''' <remarks></remarks>
        EmailAddressIsUnknownInvalid = 264

        ''' <summary>
        ''' No such subscription was found
        ''' </summary>
        ''' <remarks></remarks>
        NoSuchSubscriptionFound = 286

        ''' <summary>
        ''' The callback URL is either absent or incorrect
        ''' </summary>
        ''' <remarks></remarks>
        CallbackUrlIsAbsentOrIncorrect = 293

        ''' <summary>
        ''' No such subscription could be deleted
        ''' </summary>
        ''' <remarks></remarks>
        NoSubscriptionCouldBeDeleted = 294

        ''' <summary>
        ''' The comment is either absent or incorrect
        ''' </summary>
        ''' <remarks></remarks>
        CommentAbsentOrIncorrect = 304

        ''' <summary>
        ''' An unknown error occured (at the WithingsService)
        ''' </summary>
        ''' <remarks></remarks>
        AnUnknownErrorOccured = 2555

    End Enum


End Namespace